package org.example.src.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

@Data
public class JobPostRequest {
    @NotBlank(message = "职位标题不能为空")
    private String title;

    private String description;

    private String requirements;

    private String location;

    private String salary;

    private LocalDate startDate;

    private LocalDate endDate;

    private Boolean isActive;

    @NotNull(message = "公司ID不能为空")
    private Long companyId;
}